home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 16373 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: druid.borland.com!usenet
  2. From: pete@borland.com (Pete Becker)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Compiler bug in Borland C++ 5.0
  5. Date: 10 Apr 1996 15:55:10 GMT
  6. Organization: Borland International
  7. Message-ID: <4kglku$6lm@druid.borland.com>
  8. References: <316A22E0.47B6@ee.oulu.fi>
  9. NNTP-Posting-Host: pbecker.borland.com
  10. Mime-Version: 1.0
  11. Content-Type: Text/Plain; charset=ISO-8859-1
  12. X-Newsreader: WinVN 0.99.5
  13.  
  14. In article <316A22E0.47B6@ee.oulu.fi>, artsi@ee.oulu.fi says...
  15. >
  16. >Try setting data aligment to other than byte and compile OWL project.
  17. >Virtual function InitMainWindow is not called with this setup (Double 
  18. >word or quad word). With word aligment program crashes. Byte aligment 
  19. >always work.
  20. >
  21. >I have Borland C++ 5.0 with patch 1.
  22.  
  23. OWL was built with byte alignment. You cannot change alignment piecemeal: all 
  24. of the pieces that interact must agree on how structures are laid out. In 
  25. order to use a different alignment you would have to recompile the OWL DLL with 
  26. the new alignment as well. Not recommended.
  27.  
  28.